package com.yipao.db.domain.goods.vo;

import com.yipao.db.util.DeleteStatusConstant;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 基本请求参数封装对象
 *
 * @author tianhao
 * @date 2020/5/10 14:01
 **/
@Data
@NoArgsConstructor
public class BaseReq {
    /**
     * 页码
     */
    private Integer page = 1;
    /**
     * 每页显示的记录数
     */
    private Integer limit = 10;
    /**
     * 排序字段
     */
    private String sort;
    /**
     * 排序规则
     * asc 升序
     * desc 降序
     */
    private String ord;
    /**
     * 删除状态
     */
    private Integer deleted = DeleteStatusConstant.NOT_DELETED;
}
